package com.jiaomatech.doc.dto;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;
import java.util.List;

/**
 * Description: $VAL$ .<br>
 *
 * @author jm
 *     Created By 2018/12/11 下午6:34
 */
public class Api implements Serializable {
    private String path;
    private String type;
    private String tag;
    private String summary;
    private String description;
    private String operationId;
    private String consumes;
    private String produces;
    /**
     * 请求.
     */
    private List<ReqDto> reqDtos;
    /**
     * 响应.
     */
    private List<ResDto> resDtos;

    /**
     * 示例.
     */
    private String demo;

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public String getConsumes() {
        return consumes;
    }

    public void setConsumes(String consumes) {
        this.consumes = consumes;
    }

    public String getProduces() {
        return produces;
    }

    public void setProduces(String produces) {
        this.produces = produces;
    }

    public List<ReqDto> getReqDtos() {
        return reqDtos;
    }

    public void setReqDtos(List<ReqDto> reqDtos) {
        this.reqDtos = reqDtos;
    }

    public List<ResDto> getResDtos() {
        return resDtos;
    }

    public void setResDtos(List<ResDto> resDtos) {
        this.resDtos = resDtos;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDemo() {
        return demo;
    }

    public void setDemo(String demo) {
        this.demo = demo;
    }
}
